package com.hyacinth.cloudnote.common.security;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 安全控制日志
 * @author zhangfb
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class SecurityLog {

    /**
     * 参考：ResponseEntityExceptionHandler or DispatchServlet:
     * org.springframework.web.servlet.PageNotFound"
     * 更改为 security.PageNotFound
     */
    public static final Logger pageNotFound = LoggerFactory
            .getLogger("security.PageNotFound");

    public static final Logger unauthorized = LoggerFactory
            .getLogger("security.Unauthorized");

    public static final Logger authentication = LoggerFactory
            .getLogger("security.Authentication");

    public static final Logger signUp = LoggerFactory
            .getLogger("security.SignUp");

    public static final Logger urlAuthority = LoggerFactory
            .getLogger("security.UrlAuthority");

}
